package com.goodomen.garbage.common.persistence.mapper;

import com.goodomen.garbage.common.persistence.model.Policy;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PolicyMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Policy record);

    int insertSelective(Policy record);

    Policy selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Policy record);

    int updateByPrimaryKey(Policy record);

    List<Policy> selectList(@Param("search") Policy search);
}